﻿@using QDT.Common
@using QDT.Core
@using QDT.MVC.UI
@model QDT.Common.IPagedList<QDT.Core.Domain.UserCarry>
@{
    ViewBag.Title = "提现明细";
}
<script src="../../Content/Default/JS/change.js" type="text/javascript"></script>
<link href="../../Content/Default/CSS/ExtractionDetail.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    $().ready(function () {
        $("#ui-tixian a").addClass("a_class");
        $("#TransactionMingxi").css("background", "#e0524b");
        $("#TransactionMingxi i,#TransactionMingxi span").css("color", "white");
        $("#TransactionMingxi .san-jiaoxing").css("display", "block");
    });
</script>
@Html.Action("_UserBanner")
<div class="ui-body">
    <div class="ui-inner">
        <div class="ui-grid-row">
            @Html.Action("UserMenu", new { route = MenuRoute.TradeDetail })
            <div class="ui-grid-20">
                <div class="ui-box">
                    @Html.Partial("_JiaoyiMingxiTitle")
                    <div class="ui-table-container">
                        <table style="width: 100%">
                            <thead>
                                <tr>
                                    <th>
                                        时间
                                    </th>
                                    <th>
                                        编号
                                    </th>
                                    <th>
                                        金额
                                    </th>
                                    <th>
                                        资金渠道
                                    </th>
                                    <th>
                                        状态
                                    </th>
                                </tr>
                            </thead>
                            <tbody id="datalist">
                                @foreach (var o in Model)
                                {
                                    <tr>
                                        <td class="ui-tdtime">
                                            @o.CreateTime
                                        </td>
                                        <td class="ui-tdall">
                                            @o.ID
                                        </td>
                                        <td class="ui-tdall">
                                            @o.Money.ToMoney()
                                        </td>
                                        <td class="ui-tdallbank">
                                            @o.BankZone<br />
                                            @o.BankCard.ToConfuse(4, 4, 8)
                                        </td>
                                        @if (@o.Status == 0)
                                        {
                                            <td class="ui-tdallf">
                                                申请
                                            </td>
                                        }
                                        else if (@o.Status == 1)
                                        {
                                            <td class="ui-tdalls">
                                                成功
                                            </td>
                                        }
                                        else if (@o.Status == 2)
                                        {
                                            <td class="ui-tdall">
                                                驳回
                                            </td>
                                        }
                                        else if (@o.Status == 6)
                                        {
                                            <td class="ui-tdallf">
                                                提交通联
                                            </td>
                                        }
                                        else if (@o.Status == -1)
                                        {
                                            <td class="ui-tdallf">
                                                异常
                                            </td>
                                        }
                                    </tr>
                                }
                            </tbody>
                        </table>
                    </div>
                </div>
                <div style="text-align: center; margin-top: -10px;">@Html.ClientPager(Model)</div>
            </div>
        </div>
    </div>
</div>
<div style="margin-top: -3px;">@Html.Partial("_BindBottomImage")</div>
